home *** CD-ROM | disk | FTP | other *** search
- /* -*-objc-*- */
-
- /*
- $Header$
- $Author: dglattin $
- $Date$
- $Log$
- */
-
- #include <SubClass4.h>
- #include <stdio.h>
-
-
- @implementation SubClass4
-
-
- + initialize {
-
-
- printf( "If you see this message then SubClass4 received a"
- " +initialize method\n" );
- return self;
- }
-
- +newOther {
-
-
- return [ super newOther ];
- }
-
-
- + ( int )return12 {
-
-
- [ SubClass1 newOther ]; /* Due to compiler design,
- this should not be a infinite loop. */
- return [ super return12 ] + 1 ;
- }
-
-
- - ( int )return15 {
-
-
- [ SubClass1 newOther ]; /* Due to compiler design,
- this should not be a infinite loop. */
- return [ super return15 ];
- }
- - ( int )return33 { return [ super return33 ] + 1; }
- - ( int )return45 {
-
-
- [ SubClass1 newOther ]; /* Due to compiler design,
- this should not be a infinite loop. */
- return 45;
- }
-
-
- @end
-